package com.ruoyi.machine.advanced.repair.register.service;

import com.ruoyi.machine.advanced.repair.register.domain.RepairRegister;

import java.util.List;

/**
 * 设备维修登记表
 * 业务层
 */
public interface IRepairRegisterService {
    /**
     * 查找设备维修登记
     * @param repairRegister
     * @return
     */
    public List<RepairRegister> selectRepairRegisterList(RepairRegister repairRegister);

    /**
     * 根据Id查找设备维修登记
     * @param repairRegisterId
     * @return
     */
    public RepairRegister selectRepairRegisterById(String repairRegisterId);

    /**
     * 添加设备维修登记
     * @param repairRegister
     * @return
     */
    public int insertRepairRegister(RepairRegister repairRegister);

    /**
     * 更新设备维修登记
     * @param repairRegister
     * @return
     */
    public int updateRepairRegister(RepairRegister repairRegister);

    /**
     * 删除设备维修登记
     * 仅修改删除标志
     * @param repairRegister
     * @return
     */
    public int updateRepairRegisterDeleteFlag(RepairRegister repairRegister);
}
